import request from '@/utils/request'

export function getConfig(data) {
  return request({
    url: '/admin/marketing/signConfig/getConfig',
    method: 'post',
    data
  })
}



export function setConfig(data) {
    return request({
      url: '/admin/marketing/signConfig/setConfig',
      method: 'post',
      data
    })
}



export function getTableList(data) {
    return request({
      url: '/admin/marketing/continuitysignConfig/getTableList',
      method: 'post',
      data
    })
}



export function getDrawConfig(data) {
    return request({
      url: '/admin/marketing/luckDrawConfig/getConfig',
      method: 'post',
      data
    })
  }
  
  
  
  export function setDrawConfig(data) {
      return request({
        url: '/admin/marketing/luckDrawConfig/setConfig',
        method: 'post',
        data
      })
  }

export function getGoodsList(data) {
    return request({
      url: '/admin/marketing/continuitysignGoods/getList',
      method: 'post',
      data
    })
}


export function delTableList(data) {
    return request({
      url: '/admin/marketing/continuitysignConfig/del',
      method: 'post',
      data
    })
}